import Cookies from 'js-cookie'

const TokenKey = 'LK_admin_token'
const MgrSnKey = 'LK_admin_mgrSn'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}

export function getMgrSn() {
  return Cookies.get(MgrSnKey)
}

export function setMgrSn(token) {
  return Cookies.set(MgrSnKey, token)
}

export function removeMgrSn() {
  return Cookies.remove(MgrSnKey)
}
